package cn.chenmixuexi.spring;

import cn.chenmixuexi.config.Config;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Spring容器
 */

public class RpcContext {
    public static AnnotationConfigApplicationContext getRpcContext(){
        return new AnnotationConfigApplicationContext(Config.class);
    }
}
